home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / opus / v4 / dopbt41 / 4 / docs / file-lha->lzx.txt < prev   
Text File  |  1996-06-13  |  4KB  |  95 lines

  1. ##
  2. ## $VER: convert LHA to LZX--file.txt (and vice versa) 1.0
  3. ##
  4.  
  5.  
  6. Well, it seems there is a new archiver on the world called LZX. Now
  7. would it not be nice to be able to convert your LHA archives to the new,
  8. and improved :-), LZX format from within OPUS with a single mouse click ???
  9.  
  10.  
  11. This is how to do it:
  12.  
  13. Start the config editor (logical step isn't it ??)
  14.  
  15. choose a button/menu of your likes, and edit in the next lines:
  16.  
  17. ---------------------------------------
  18. NAME:       LHA->LZX-file
  19.  
  20. AmigaDOS    rx dopus:modules/rexx/conv.lha->lzx.rexx {f}
  21.  
  22. FLAGS:
  23.  
  24. Do all files
  25. No filename quote
  26. Output window
  27. Rescan source
  28. ---------------------------------------
  29.  
  30. Exit the configeditor, and (if not excisting already) MAKEDIR in the
  31. dopus: directory, called modules (it SHOULD be there already...). Enter
  32. the dopus:modules/ directory, and MAKEDIR rexx  (your path should look
  33. like DOPUS:MODULES/REXX/ !!)
  34.  
  35. IMPORTANT !!! The script will create in your sys: partition a directory
  36. called repack. The files will be worked on there. After finishing the
  37. ENTIRE directory called sys:repack will be deleted... So IF YOU HAVE A
  38. DIR CALLED SYS:REPACK IN USE, YOU MUST CHANGE THAT NAME, OR EDIT THE
  39. SCRIPTS !!!!!!
  40.  
  41. Please copy the files from the rexx/ dir in this archive 
  42. (conv.lha->lzx.rexx, and conv.lzx->lha.rexx) to dopus:modules/rexx dir.
  43.  
  44. You could copy the scripts to the assigned rexx: directory, but I have
  45. noticed that dir tends to grow HUGE as you start using different
  46. programms with an arexx port...
  47.  
  48. Now select any LHA archive, click on the just created button (menu ?), and
  49. voila... Your lha archive will be extracted, and repacked with LZX.
  50.  
  51.  
  52. NOTE1... The original (lha) archive will be deleted by the script (what's
  53. the use of keeping the BIG lha file when you have a LZX archive :-))  ).
  54.  
  55. NOTE2... The scrips does a great cleanup job afterwards, so DO NOT USE
  56. SYS:REPACK FOR ANYTHING ELSE !!!!! I AM NOT RESPONSIBLE FOR YOUR ERRORS !
  57.  
  58.                       
  59. -------
  60.  
  61. For compatibilty reasons I have also included a reverse script (convert
  62. LZX to LHA). Usage is the same, just rename button conv.lha->lzx.rexx to 
  63. the more apropriate conv.lzx->lha.rexx... 
  64. Why you would want to use it remains a mistery, but, hey, it's your 
  65. computer isn't it ??!!
  66.  
  67.  
  68. Let me know what you think, and if you use it (and why not...?).
  69.  
  70.  
  71.        ·······························································
  72.        .#.####..............................................####..####
  73.        ##.#..#........._______....______......_______.......#..#..#...
  74.        .#.####......../      /....|     \.....\      .......####..####
  75.        .#....#......./______/.....|______|.....\      .........#.....#
  76.        .#.####....../      /......|      |......\      .....####..####
  77.        ............/....../.......|_____/........\_______.............
  78.        ...............................................................
  79.        .............ABC, THE CUTEST LAMER IN THE BUSINESS.............
  80.        ...............................................................
  81.        ........................... .xXXx. ............................
  82.        ........................... |o'`o| ............................
  83.        .............-----------.oOO-(__)-OOo.-----------..............
  84.        ...______ ..:                                    :...______....
  85.        . /      \..:      NIELS van \X/illigenburg      :../      \...
  86.        ..| O  O |..:          Millingenhof 123          :..| O  O |...
  87.        ..|  /\  |..:       NL-1106 KH   AMSTERDAM       :..|  /\  |...
  88.        ..| \__/ |..:             Netherlands            :..| \__/ |...
  89.        ...\____/...:               Europe               :...\____/....
  90.        ............:         +31-(0)20-6979932          :.............
  91.        ............:        FIDO -> 2:280/464.17        :.............
  92.        ............:             -> niels@aobh.xs4all.nl:.............
  93.        ............`------------------------------------'.............
  94.        ...............................................................
  95.